package com.woniu.pojo;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * pre_order
 * @author 
 */
@Data
public class PreOrder implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 订单创建人
     */
    private Integer uid;

    /**
     * 用户车位ID
     */
    private Integer puId;

    /**
     * 商家车位ID
     */
    private Integer muId;

    /**
     * 订单用户名称
     */
    private String name;

    /**
     * 车位地址
     */
    private String location;

    /**
     * 订单编号
     */
    private String num;

    /**
     * 订单创建时间
     */
    private Date createtime;

    /**
     * 开始时间
     */
    private Date starttime;

    /**
     * 结束时间
     */
    private Date endtime;

    /**
     * 金额
     */
    private Integer money;

    /**
     * 代金券金额
     */
    private Integer cash;

    /**
     * 支付方式
     */
    private String method;

    /**
     * 订单状态，待支付，已支付，失败
     */
    private String status;

    /**
     * 1为商家，2为用户
     */
    private Integer mark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPuId() {
        return puId;
    }

    public void setPuId(Integer puId) {
        this.puId = puId;
    }

    public Integer getMuId() {
        return muId;
    }

    public void setMuId(Integer muId) {
        this.muId = muId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getCash() {
        return cash;
    }

    public void setCash(Integer cash) {
        this.cash = cash;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}